<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html>
<head>
<title></title>
</head>
<body>
	<form:form modelAttribute="newUser" method="post" action="/users/add">
		<label for="firstNameInput"><spring:message code="addUser.form.firstName.label" /></label>
		<form:input path="firstName" id="firstNameInput"></form:input>
		<form:errors path="firstName"></form:errors>
		<br />
		
		<label for="lastNameInput"><spring:message code="addUser.form.lastName.label" /></label>
		<form:input path="lastName" id="lastNameInput"></form:input>
		<form:errors path="lastName"></form:errors>
		<br />
		
		<label for="emailInput"><spring:message code="addUser.form.email.label" /></label>
		<form:input path="email" id="emailInput"></form:input>
		<form:errors path="email"></form:errors>
		<br />
		
		<input type="submit" value="Save" />	
	</form:form>
</body>
</html>
